# test get detached nodes
node ../packages/meminsight/dist/Index.js ark-stat -t "${target}" -m 1 -f ${output_file}

# test get gc roots
node ../packages/meminsight/dist/Index.js ark-stat -t "${target}" -m 2 -f ${output_file}

# test get shortest path to node
node ../packages/meminsight/dist/Index.js ark-stat -t "${target}" -m 3 -i ${node_id} -f ${output_file}

# test get aggration paths
node ../packages/meminsight/dist/Index.js ark-stat -t "${target}" -m 4 -c ./packages/cfg/ArkStatCfg.json -f ${output_file}

# test get nodes by configuration
node ../packages/meminsight/dist/Index.js ark-stat -t "${target}" -m 5 -c ./packages/cfg/ArkStatCfg.json -f ${output_file}